package com.huang;

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

import java.sql.SQLOutput;

@SpringBootTest
public class test1 {

     @Test
    public void CreatPwd(){

        //创建用户登录的密码

        BCryptPasswordEncoder encoder=new BCryptPasswordEncoder();
        String password="1111";
        String newPwd=encoder.encode("1111");
        System.out.println(newPwd);
    }


}
